package com.zhaopin.rpc.rpc05;

import com.zhaopin.rpc.IUserService;
import com.zhaopin.rpc.User;

/**
 * User 可以增加删除属性了
 * IUserService 的所有方法都可以 动态修改
 */
public class Client {
    public static void main(String[] args) throws Exception {
        IUserService service = Stub.getStub();
        System.out.println(service.findUserById(456));
        System.out.println(service.saveUser(new User(124,"344")));
    }
}